package com.ftz.examinationsystem.pojo;

/**
 * 根据查询条件显示机房信息
 * 查询条件：name-模糊匹配机房地址
 *         lownumber highnumber-查询容量在某一区间的机房
 *         campus-按校区查询
 *         aempty pempty-按空闲时间查询
 */
public class RoomQuery extends Page{
    private String name;
    private Integer lownumber;
    private Integer highnumber;
    private String campus;
    private Integer aempty;
    private Integer pempty;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLownumber() {
        return lownumber;
    }

    public void setLownumber(Integer lownumber) {
        this.lownumber = lownumber;
    }

    public Integer getHighnumber() {
        return highnumber;
    }

    public void setHighnumber(Integer highnumber) {
        this.highnumber = highnumber;
    }

    public String getCampus() {
        return campus;
    }

    public void setCampus(String campus) {
        this.campus = campus;
    }

    public Integer getAempty() {
        return aempty;
    }

    public void setAempty(Integer aempty) {
        this.aempty = aempty;
    }

    public Integer getPempty() {
        return pempty;
    }

    public void setPempty(Integer pempty) {
        this.pempty = pempty;
    }

    @Override
    public String toString() {
        return "RoomQuery{" +
                "name='" + name + '\'' +
                ", lownumber=" + lownumber +
                ", highnumber=" + highnumber +
                ", campus='" + campus + '\'' +
                ", aempty=" + aempty +
                ", pempty=" + pempty +
                '}';
    }
}
